package com.ym.b2b.payment.dao;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.payment.sqlbean.EmSPayment;
import com.zc.commons.base.Page;

public interface EmSPaymentDAO {

    Long searchPageEmSPaymentNum(EmSPayment emspayment) throws DataAccessException;

    public Page searchPageEmSPayment(EmSPayment emspayment, Page<EmSPayment> page) throws DataAccessException;

    void insertEmSPayment(EmSPayment record) throws DataAccessException;

    int updateEmSPayment(EmSPayment record) throws DataAccessException;

    public EmSPayment searchEmSPayment(EmSPayment emspayment) throws DataAccessException;

    int deleteEmSPayment(Long paymentId) throws DataAccessException;
}
